﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyGiaoVuDAL.Repositories.DatabaseRepositories;

namespace QuanLyGiaoVuService.CommandServices
{
    public class BauChonDeTaiCommandService:IBauChonDeTaiCommandService
    {
        private BauChonDeTaiRepository _bauChonDeTaiRepository;
        public BauChonDeTaiCommandService(BauChonDeTaiRepository bauChonDeTaiRepository)
        {
            _bauChonDeTaiRepository = bauChonDeTaiRepository;
        }
        public void InsertDeTaiBauChon(Guid SinhVienId, Guid MaDeTai)
        {
            _bauChonDeTaiRepository.InsertDeTaiBauChon(SinhVienId, MaDeTai);
        }
        public void RemoveDeTaiBauChon(Guid SinhVienId, Guid MaDeTai)
        {
            _bauChonDeTaiRepository.RemoveDeTaiBauChon(SinhVienId, MaDeTai);
        }
    }
}
